package tests.mocks;

import java.util.LinkedList;

import interfaces.IItem;
import interfaces.ISearchSubSupplier;

public class ISearchSubSupplierMock implements ISearchSubSupplier {

	private LinkedList<IItem> items = new LinkedList<IItem>();
	
	@Override
	public LinkedList<IItem> LookUpItem(long partnumber, String description) {
		return items;
	}
	
	public void addItems(LinkedList<IItem> itemsTemp){
		this.items.addAll(itemsTemp);
	}
}
